<#import "/analysis/function.ftl" as fn>
<@fn.header _title="内网人员工作超时统计" />
<body>
<@fn.position _value="当前位置 &gt;&gt; 工作量与绩效统计 &gt; 内网人员工作超时统计" />
<div class="contentDiv">
  <div class="condition">
    <h2>统计条件</h2>
    <form id="listForm" method="post">
	    <table class="tableStyle">
	      <tr>
	        <td width="11%">操作时间段：</td>
	        <td width="89%"><input name="acceptStartTime" type="text" class="btnTxtDate" id="textfield" onClick="WdatePicker()" />
	          至
	          <input name="acceptEndTime" type="text" class="btnTxtDate" id="textfield13" onClick="WdatePicker()" />
	          </td>
	      </tr>
	    </table>
	    <table class="buttonT">
	      <tr>
	        <td width="10%"><input type="submit" class="button" value="统 计" /></td>
	      </tr>
	    </table>
    </form>
  </div>
  <div class="reasult">
    <h2>统计结果</h2>
    <table class="gridStyle">
      <tr>
        <th rowspan="2">中心核对人员</th>
        <th colspan="2">准入标准审核</th>
        <th colspan="2">经济状况核对</th>
        <th colspan="2">抽查</th>
        <th rowspan="2">超时份数</th>
      </tr>
      <tr>
        <td width="14%">超时份数 </td>
        <td width="14%">最长超期天数 </td>
        <td width="14%">超时份数 </td>
        <td width="14%">最长超期天数 </td>
        <td width="14%">超时份数 </td>
        <td width="14%">最长超期天数 </td>
      </tr>
        <#assign timeoverNumOfEntryTotal=0 />
        <#assign timeoverMaxDaysOfEntryTotal=0 />
        <#assign timeoverNumOfFirstCheckTotal=0 />
        <#assign timeoverMaxDaysOfFirstCheckTotal=0 />
        <#assign timeoverNumOfSecondCheckTotal=0 />
        <#assign timeoverMaxDaysOfSecondCheckTotal=0 />
        <#assign timeoverSumTotal=0 />
      <#list resultList as data>
        <#assign timeoverNumOfEntryTotal=timeoverNumOfEntryTotal+data.timeoverNumOfEntry />
        <#assign timeoverMaxDaysOfEntryTotal=timeoverMaxDaysOfEntryTotal+data.timeoverMaxDaysOfEntry />
        <#assign timeoverNumOfFirstCheckTotal=timeoverNumOfFirstCheckTotal+data.timeoverNumOfFirstCheck />
        <#assign timeoverMaxDaysOfFirstCheckTotal=timeoverMaxDaysOfFirstCheckTotal+data.timeoverMaxDaysOfFirstCheck />
        <#assign timeoverNumOfSecondCheckTotal=timeoverNumOfSecondCheckTotal+data.timeoverNumOfSecondCheck />
        <#assign timeoverMaxDaysOfSecondCheckTotal=timeoverMaxDaysOfSecondCheckTotal+data.timeoverMaxDaysOfSecondCheck />
        <#assign timeoverSumTotal=timeoverSumTotal+data.timeoverSum />
      <tr>
        <td>${data.personName}</td>
        <td>${data.timeoverNumOfEntry}</td>
        <td>${data.timeoverMaxDaysOfEntry}</td>
        <td>${data.timeoverNumOfFirstCheck}</td>
        <td>${data.timeoverMaxDaysOfFirstCheck}</td>
        <td>${data.timeoverNumOfSecondCheck}</td>
        <td>${data.timeoverMaxDaysOfSecondCheck}</td>
        <td>${data.timeoverSum}</td>
      </tr>
 	  </#list>
      <tr>
        <td>合计</td>
        <td>${timeoverNumOfEntryTotal}</td>
        <td>${timeoverMaxDaysOfEntryTotal}</td>
        <td>${timeoverNumOfFirstCheckTotal}</td>
        <td>${timeoverMaxDaysOfFirstCheckTotal}</td>
        <td>${timeoverNumOfSecondCheckTotal}</td>
        <td>${timeoverMaxDaysOfSecondCheckTotal}</td>
        <td>${timeoverSumTotal}</td>
      </tr>
    </table>
  </div>
  <div class="explain">
    <h3>说明：</h3>
    <p>1. 总数=“准入标准审核”数+ “经济状况核对”数+“抽查”数。</p>
  </div>
</div>
</body>
</html>
